import { $Http } from '@/config/service/http';

export enum Api {
  watermarkBatchDelete = '/dms/baseElectronicWatermarking/batchDelete', // 批量删除
  watermarkDelete = '/dms/baseElectronicWatermarking/delete', // 删除
  watermarkGet = '/dms/baseElectronicWatermarking/get', // 详情
  watermarkPage = '/dms/baseElectronicWatermarking/page', // 分页查询
  watermarkSave = '/dms/baseElectronicWatermarking/save', // 保存
  watermarkSetDefault = '/dms/baseElectronicWatermarking/setDefault' // 设置默认
}

export const watermarkBatchDelete = (params) => {
  return $Http.api(Api.watermarkBatchDelete, params, 'post');
};

export const watermarkDelete = (params) => {
  return $Http.api(Api.watermarkDelete, params, 'post');
};

export const watermarkGet = (params) => {
  return $Http.api(Api.watermarkDelete, params, 'get');
};

export const watermarkPage = (params) => {
  return $Http.api(Api.watermarkPage, params, 'post');
};

export const watermarkSave = (params) => {
  return $Http.api(Api.watermarkSave, params, 'post');
};

export const watermarkSetDefault = (params) => {
  return $Http.api(Api.watermarkSetDefault, params, 'post');
};
